

export interface IMap<T = any> {

    size(): number;

    get(key: any): T

    has(key: any): boolean

    set(key: any, data: T, isSave?: boolean): void;

    remove(key: any): void

    

    save(): void;

    clear(): void;


    getValue(): { [key: string]: T }

    setValue(v: { [key: string]: T }, isSave?: boolean): void;

    hasData(): boolean
}